package request

type Register struct {
	Mobile   string `form:"mobile" required:"binding"`
	Password string `form:"password" required:"binding"`
}

type Login struct {
	Mobile   string `form:"mobile" required:"binding"`
	Password string `form:"password" required:"binding"`
}

type AddVote struct {
	RemainingTickets uint    `form:"remaining_tickets" required:"binding"`
	VoteType         uint    `form:"vote_type" required:"binding"`
	VoteStatus       uint    `form:"vote_status" required:"binding"`
	TrainNumber      string  `form:"train_number" required:"binding"`
	Seat             string  `form:"seat" required:"binding"`
	Price            float64 `form:"price" required:"binding"`
	SeatType         uint    `form:"seat_type" required:"binding"`
}

type InfoVote struct {
	Id uint `form:"id" required:"binding"`
}
